from typing import Iterator, Sequence

from docx.blkcntnr import BlockItemContainer
from docx.enum.section import WD_SECTION
from docx.oxml.section import CT_SectPr
from docx.table import Table
from docx.text.paragraph import Paragraph

class Section:
    _sectPr: CT_SectPr
    @property
    def different_first_page_header_footer(self) -> bool: ...
    @property
    def even_page_footer(self) -> _Footer: ...
    @property
    def even_page_header(self) -> _Header: ...
    @property
    def first_page_footer(self) -> _Footer: ...
    @property
    def first_page_header(self) -> _Header: ...
    @property
    def footer(self) -> _Footer: ...
    @property
    def header(self) -> _Header: ...
    def iter_inner_content(self) -> Iterator[Paragraph | Table]: ...
    @property
    def start_type(self) -> WD_SECTION: ...

class Sections(Sequence[Section]): ...

class _BaseHeaderFooter(BlockItemContainer):
    @property
    def is_linked_to_previous(self) -> bool: ...

class _Footer(_BaseHeaderFooter): ...
class _Header(_BaseHeaderFooter): ...
